
export interface LoginData {
  username: string
  password: string
  rememberMe: boolean
}

export interface OAuth2AccessToken {
  access_token: string
  token_type: string
  refresh_token: string
  scope: string
  expiration: number
  refresh_expiration: number
}

export interface UserToken {
  id: number
  username: string
  phone: string
  clientId: string
  type: string
  accessToken: string
  expire: number
}

export interface ExampleClient {
  clientId?: string
  clientSecret?: string
  resourceIds?: string
  scope?: string
  authorizedGrantTypes?: string
  webServerRedirectUri?: string
  authorities?: string
  accessTokenValidity?: number
  refreshTokenValidity?: number,
  autoapprove: string
}
